<?php
class Home_Controller_Index extends Home_Controller_Base{
    public function init(){
        $this->assign('active','index');
        parent::init();
    }

    public function actionIndex(){
        //首页资金列表
        //首页项目列表
        //搜索条
        return $this->render();
    }

    /**
    * 登陆
    */
    public function actionLogin(){
        return $this->render();
    }

    public function actionLogin_AJAX(){
        
    }

    /**
    * 注册
    */
    public function actionRegister(){
        $this->_setType(array('type'=>PARAM_UINT));
        $type = $this->_get('type');
        $type = empty($type)?1:$type;
        return $this->render(array('action'=>'register_'.$type));
    }

    public function actionRegister__POST_AJAX(){
        
    }
}
